var runtime.sig
47 uses
runtime (current package)
sigqueue.go#L51: var sig struct {
sigqueue.go#L73: if s >= uint32(32*len(sig.wanted)) {
sigqueue.go#L77: sig.delivering.Add(1)
sigqueue.go#L80: if w := atomic.Load(&sig.wanted[s/32]); w&bit == 0 {
sigqueue.go#L81: sig.delivering.Add(-1)
sigqueue.go#L87: mask := sig.mask[s/32]
sigqueue.go#L89: sig.delivering.Add(-1)
sigqueue.go#L92: if atomic.Cas(&sig.mask[s/32], mask, mask|bit) {
sigqueue.go#L100: switch sig.state.Load() {
sigqueue.go#L104: if sig.state.CompareAndSwap(sigIdle, sigSending) {
sigqueue.go#L111: if sig.state.CompareAndSwap(sigReceiving, sigIdle) {
sigqueue.go#L113: sigNoteWakeup(&sig.note)
sigqueue.go#L116: notewakeup(&sig.note)
sigqueue.go#L122: sig.delivering.Add(-1)
sigqueue.go#L134: if sig.recv[i/32]&(1<<(i&31)) != 0 {
sigqueue.go#L135: sig.recv[i/32] &^= 1 << (i & 31)
sigqueue.go#L143: switch sig.state.Load() {
sigqueue.go#L147: if sig.state.CompareAndSwap(sigIdle, sigReceiving) {
sigqueue.go#L149: sigNoteSleep(&sig.note)
sigqueue.go#L152: notetsleepg(&sig.note, -1)
sigqueue.go#L153: noteclear(&sig.note)
sigqueue.go#L157: if sig.state.CompareAndSwap(sigSending, sigIdle) {
sigqueue.go#L164: for i := range sig.mask {
sigqueue.go#L165: sig.recv[i] = atomic.Xchg(&sig.mask[i], 0)
sigqueue.go#L185: for sig.delivering.Load() != 0 {
sigqueue.go#L192: for sig.state.Load() != sigReceiving {
sigqueue.go#L201: if !sig.inuse {
sigqueue.go#L203: sig.inuse = true // enable reception of signals; cannot disable
sigqueue.go#L205: sigNoteSetup(&sig.note)
sigqueue.go#L207: noteclear(&sig.note)
sigqueue.go#L211: if s >= uint32(len(sig.wanted)*32) {
sigqueue.go#L215: w := sig.wanted[s/32]
sigqueue.go#L217: atomic.Store(&sig.wanted[s/32], w)
sigqueue.go#L219: i := sig.ignored[s/32]
sigqueue.go#L221: atomic.Store(&sig.ignored[s/32], i)
sigqueue.go#L230: if s >= uint32(len(sig.wanted)*32) {
sigqueue.go#L235: w := sig.wanted[s/32]
sigqueue.go#L237: atomic.Store(&sig.wanted[s/32], w)
sigqueue.go#L244: if s >= uint32(len(sig.wanted)*32) {
sigqueue.go#L249: w := sig.wanted[s/32]
sigqueue.go#L251: atomic.Store(&sig.wanted[s/32], w)
sigqueue.go#L253: i := sig.ignored[s/32]
sigqueue.go#L255: atomic.Store(&sig.ignored[s/32], i)
sigqueue.go#L264: i := sig.ignored[s/32]
sigqueue.go#L266: atomic.Store(&sig.ignored[s/32], i)
sigqueue.go#L273: i := atomic.Load(&sig.ignored[s/32])
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |